import React, { memo } from 'react';
import { Provider } from 'react-redux';
import { HashRouter } from 'react-router-dom';
import { renderRoutes } from 'react-router-config';
import routes from './router';
import store from './store'
import 'normalize.css';
export default memo(function App() {
  return (
    <HashRouter>
      <Provider store={store}>
        {renderRoutes(routes)}
      </Provider>
    </HashRouter>
  );
});
